package com.sky.city.interceptor;


import java.util.Map;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.QueryMap;

public interface RetrofitService {

    /*登陆*/
    @POST("login")
    Observable<String> login(@Body RequestBody requestBody);

    /*获取七牛云token*/
    @GET("upload_chunk")
    Observable<String> getQiLiuYunToken();

    /*精选讲座视频列表 */
    @GET("user/selected_video_list")
    Observable<String> getVideoList(@QueryMap Map<String, String> map);


}
